﻿// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

using System;

namespace Mono.Linker.Tests.Cases.Expectations.Assertions
{
    [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface, AllowMultiple = true, Inherited = false)]
    public class KeptInterfaceAttribute : KeptAttribute
    {

        public KeptInterfaceAttribute(Type interfaceType)
        {
            ArgumentNullException.ThrowIfNull(interfaceType);
        }

        public KeptInterfaceAttribute(Type interfaceType, params object[] typeArguments)
        {
            ArgumentNullException.ThrowIfNull(interfaceType);
            ArgumentNullException.ThrowIfNull(typeArguments);
        }
    }
}
